package com.lsy.entity;

import java.util.Date;

public class Product {
    private Integer productid;

    private String pname;

    private Long ppricetotal;

    private int prate;

    private int ptimelimit;

    private int ptype;

    private Date ppubtime;

    private Integer ppeoplecurrent;

    private Long ppricecurrent;

    private Boolean pisdone;

    private Date pdonetime;

    private String pdesc;

    public Integer getProductid() {
        return productid;
    }

    public void setProductid(Integer productid) {
        this.productid = productid;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname == null ? null : pname.trim();
    }

    public Long getPpricetotal() {
        return ppricetotal;
    }

    public void setPpricetotal(Long ppricetotal) {
        this.ppricetotal = ppricetotal;
    }

    public int getPrate() {
        return prate;
    }

    public void setPrate(Byte prate) {
        this.prate = prate;
    }

    public int getPtimelimit() {
        return ptimelimit;
    }

    public void setPtimelimit(Byte ptimelimit) {
        this.ptimelimit = ptimelimit;
    }

    public int getPtype() {
        return ptype;
    }

    public void setPtype(int ptype) {
        this.ptype = ptype;
    }

    public Date getPpubtime() {
        return ppubtime;
    }

    public void setPpubtime(Date ppubtime) {
        this.ppubtime = ppubtime;
    }

    public Integer getPpeoplecurrent() {
        return ppeoplecurrent;
    }

    public void setPpeoplecurrent(Integer ppeoplecurrent) {
        this.ppeoplecurrent = ppeoplecurrent;
    }

    public Long getPpricecurrent() {
        return ppricecurrent;
    }

    public void setPpricecurrent(Long ppricecurrent) {
        this.ppricecurrent = ppricecurrent;
    }

    public Boolean getPisdone() {
        return pisdone;
    }

    public void setPisdone(Boolean pisdone) {
        this.pisdone = pisdone;
    }

    public Date getPdonetime() {
        return pdonetime;
    }

    public void setPdonetime(Date pdonetime) {
        this.pdonetime = pdonetime;
    }

    public String getPdesc() {
        return pdesc;
    }

    public void setPdesc(String pdesc) {
        this.pdesc = pdesc == null ? null : pdesc.trim();
    }

	@Override
	public String toString() {
		return "Product [productid=" + productid + ", pname=" + pname + ", ppricetotal=" + ppricetotal + ", prate="
				+ prate + ", ptimelimit=" + ptimelimit + ", ptype=" + ptype + ", ppubtime=" + ppubtime
				+ ", ppeoplecurrent=" + ppeoplecurrent + ", ppricecurrent=" + ppricecurrent + ", pisdone=" + pisdone
				+ ", pdonetime=" + pdonetime + ", pdesc=" + pdesc + "]";
	}
    
}